package com.cyx.exercise.ollama;

/**
 * Ollama聊天响应对象
 */
public class OllamaChatResponse {
    private OllamaChatMessage message;
    private boolean done;
    
    public OllamaChatResponse() {}
    
    public OllamaChatResponse(OllamaChatMessage message, boolean done) {
        this.message = message;
        this.done = done;
    }
    
    public OllamaChatMessage getMessage() {
        return message;
    }
    
    public void setMessage(OllamaChatMessage message) {
        this.message = message;
    }
    
    public boolean isDone() {
        return done;
    }
    
    public void setDone(boolean done) {
        this.done = done;
    }
    
    @Override
    public String toString() {
        return "OllamaChatResponse{" +
                "message=" + message +
                ", done=" + done +
                '}';
    }
}
